package cn.lyn4ever.user;

import cn.lyn4ever.config.SwaggerConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

/**
 * @auther 微信公众号 “小鱼与Java”
 * @date 2020/3/25
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients //开启feign调用
@MapperScan("cn.lyn4ever.user.mapper")
@Import(SwaggerConfig.class)
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
